# 基础镜像源
FROM nginx:1.18.0

# 设置作者信息
LABEL maintainer="janus"

# 将当前目录下的文件复制到容器的工作目录
COPY /home/janus/IdeaProjects/filmHeaven/tally-web/dist /var/tally/dist
COPY /home/janus/IdeaProjects/filmHeaven/tally-web/default.conf /etc/nginx/conf.d/default.conf

# 设置环境变量
ENV APP_VERSION=2.0.0

# 暴露端口
EXPOSE 80
